package com.chuang.bootplus.entity.document;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author chang
 * @since 2022-06-21
 */
@Getter
@Setter
@TableName("d_map_w")
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "DMapW对象", description = "")
public class DMapW implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ExcelProperty(value = "value")
    private String value;

    private String wName;

    @ExcelProperty(value = "word_id")
    private Long wId;
    @ExcelProperty(value = "document_id")
    private Long dId;

}
